<?php
/**
 * OaDayFoodmenu数据模型
 */
class OaDayFoodmenuTable {
	// 数据表模型配置
	public $config = [
			'name' => 'oa_day_foodmenu',
			'title' => '每日菜谱',
			'search_key' => '',
			'add_button' => 1,
			'del_button' => 1,
			'search_button' => 1,
			'check_all' => 1,
			'list_row' => '',
			'addon' => 'OaSystem'
	];
	
	// 列表定义
	public $list_grid = [ ];
	
	// 字段定义
	public $fields = [
			'serviceid' => [
					'title' => '商品ID',
					'type' => 'num',
					'field' => 'int(10) NOT NULL',
					'remark' => 'logistic service 主键ID',
					'is_show' => 1,
					'is_must' => 1,
					'placeholder' => '请输入内容'
			],
			'dayweek' => [
					'title' => '星期',
					'type' => 'num',
					'field' => 'int(10) NOT NULL',
					'remark' => '1:星期一，.....，7:星期天',
					'is_show' => 1,
					'is_must' => 1,
					'placeholder' => '请输入内容'
			],
			'comment' => [
					'title' => '备注',
					'type' => 'string',
					'field' => 'varchar(255) NULL',
					'is_show' => 1,
					'is_must' => 0
			]
	];
}	